package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.ReportMemberMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Service(interfaceClass = ReportMemberService.class)
@Transactional
public class ReportMemberServiceImpl implements ReportMemberService {

    @Autowired
    ReportMemberMapper reportMemberMapper;
    @Override
    public int getMemberCount(String month) {

       return reportMemberMapper.getMemberCount(month+"-31");

    }


}
